package de.definitives.creoleconverter.document;

import de.definitives.creoleconverter.renderer.Renderer;

/**
 * Represents a link.
 *
 * @author Christian Helmbold
 */
public class Link extends Container {

    private String target;

    public Link(String target){
        this.target = target;
    }

    public String getTarget() {
        return target;
    }

    public void renderWith(Renderer renderer) {
        renderer.render(this);
    }

}
